<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 200px;
				height: 200px;
				text-align: center;
				line-height: 200px;
				background: pink;
				display: none;
			}

			:target {
				display: block;
			}
		</style>
	</head>
	<body>
		<!--
		 点击这三个超链接，href中指定的id的元素会显示 
		 uri 就是href中的#号后面的id
		 -->
		<a href="#div1">div1</a>
		<a href="#div2">div2</a>
		<a href="#div3">div3</a>
		<div id="div1">
			div1
		</div>
		<div id="div2">
			div2
		</div>
		<div id="div3">
			div3
		</div>
	</body>
</html>
